package com.jufa_3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
public class MonitoringInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    private LocalDateTime createTime;

    private String changeInfo;

    private String isKnow;

    private String isSend;

    public MonitoringInfo(Integer taskId, LocalDateTime createTime, String changeInfo) {
        this.taskId = taskId;
        this.createTime = createTime;
        this.changeInfo = changeInfo;
    }

    public MonitoringInfo(Integer id, String isKnow) {
        this.id = id;
        this.isKnow = isKnow;
    }
}
